<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Change Password</title>
</head>
<body>
    <form name="form1" method="post" action="<%=request.getContextPath()%>/ChangePasswordProcess">
      <table  class="layout_grid">
        <tr>
          <td colspan="2"><h1 class="page_title">Change Your Password</h1></td> 
        </tr>
        <tr>
          <td class="side_label_middle">current password : </td>
          <td><input type="password" name="currentPass" id="currentPass" required></td>
        </tr>
        <tr>
          <td class="side_label_middle">new password: </td>
          <td><input type="password" name="newPass" id="newPass" required></td>
        </tr>
        <tr>
          <td class="side_label_middle">confirm password : </td>
          <td><input type="password" name="confNewPass" id="confNewPass" required data-rule-equalTo="#newPass" data-msg-equalTo="does not match the password "></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="submit" name="button" id="button" value="Change Password"></td>
        </tr>
      </table>
    </form>
</body>
</html>